[INFO] cloning repository https://github.com/Go-and/async-trait
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Go-and/async-trait" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGo-and%2Fasync-trait", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGo-and%2Fasync-trait'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0481706f2745a159eca0d8b7a179a105a53057c
[INFO] fixing Go-and/async-trait against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGo-and%2Fasync-trait" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Go-and/async-trait
[INFO] finished tweaking git repo https://github.com/Go-and/async-trait
[INFO] tweaked toml for git repo https://github.com/Go-and/async-trait written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Go-and/async-trait on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Go-and/async-trait already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd
[INFO] running `Command { std: "docker" "start" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking async-trait v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: `impl DataFetcher` cannot be shared between threads safely
[INFO] [stdout]    --> src/main.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let result = fetcher.process(id).await?;
[INFO] [stdout]     |                          ^^^^^^^ `impl DataFetcher` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `DataFetcher::process`
[INFO] [stdout]    --> src/main.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | #[async_trait]
[INFO] [stdout]     | ^^^^^^^^^^^^^^ required by this bound in `DataFetcher::process`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn process(&self, id: u32) -> Result<String, String> {
[INFO] [stdout]     |              ------- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider restricting opaque type `impl DataFetcher` with trait `Sync`
[INFO] [stdout]     |
[INFO] [stdout] 148 | async fn handle_data(fetcher: &impl DataFetcher + std::marker::Sync, id: u32) -> Result<(), String> {
[INFO] [stdout]     |                                                 +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `dyn DataFetcher` cannot be shared between threads safely
[INFO] [stdout]    --> src/main.rs:177:25
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = fetcher.process(1).await;
[INFO] [stdout]     |                         ^^^^^^^ `dyn DataFetcher` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sync` is not implemented for `dyn DataFetcher`
[INFO] [stdout] note: required by a bound in `DataFetcher::process`
[INFO] [stdout]    --> src/main.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | #[async_trait]
[INFO] [stdout]     | ^^^^^^^^^^^^^^ required by this bound in `DataFetcher::process`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn process(&self, id: u32) -> Result<String, String> {
[INFO] [stdout]     |              ------- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl DataFetcher` cannot be shared between threads safely
[INFO] [stdout]    --> src/main.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let result = fetcher.process(id).await?;
[INFO] [stdout]     |                          ^^^^^^^ `impl DataFetcher` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `DataFetcher::process`
[INFO] [stdout]    --> src/main.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | #[async_trait]
[INFO] [stdout]     | ^^^^^^^^^^^^^^ required by this bound in `DataFetcher::process`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn process(&self, id: u32) -> Result<String, String> {
[INFO] [stdout]     |              ------- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider restricting opaque type `impl DataFetcher` with trait `Sync`
[INFO] [stdout]     |
[INFO] [stdout] 148 | async fn handle_data(fetcher: &impl DataFetcher + std::marker::Sync, id: u32) -> Result<(), String> {
[INFO] [stdout]     |                                                 +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-trait` (bin "async-trait") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `dyn DataFetcher` cannot be shared between threads safely
[INFO] [stdout]    --> src/main.rs:177:25
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = fetcher.process(1).await;
[INFO] [stdout]     |                         ^^^^^^^ `dyn DataFetcher` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sync` is not implemented for `dyn DataFetcher`
[INFO] [stdout] note: required by a bound in `DataFetcher::process`
[INFO] [stdout]    --> src/main.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | #[async_trait]
[INFO] [stdout]     | ^^^^^^^^^^^^^^ required by this bound in `DataFetcher::process`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn process(&self, id: u32) -> Result<String, String> {
[INFO] [stdout]     |              ------- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-trait` (bin "async-trait" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd", kill_on_drop: false }`
[INFO] [stdout] 3703096b78bfcd87a22321889a430ec9c1ebecaa5f906426ff87f533a2f9dcfd
